import { LOCAL_STORAGE_KEYS } from '@/constant'

export default function (request) {
  const share_aff = localStorage.getItem(LOCAL_STORAGE_KEYS.POSTBACK_SHARE_AFF)

  if (share_aff) {
    request.data = { ...request.data, share_aff }
  }
  return request
}
